<!---
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->
<!doctype html>
<html lang="en" data-ng-app="app">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>YARN Application Catalog</title>
    <link rel="stylesheet" href="vendor/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="vendor/bootstrap/dist/css/bootstrap-theme.min.css">
    <link href="css/bootstrap-hadoop.css" rel="stylesheet">
    <link rel="stylesheet" href="css/theme.css">
    <link rel="stylesheet" href="css/specific.css">
</head>
<body role="document">
<div ng-controller="LoadScreenController" class="loader-wrapper {{loadScreen}}">
  <div class="loader"><img src="/css/img/loading.svg"></div>
</div>
<div class="grid-container">
  <div class="grid-row">
      <div class="side-bar"></div>
      <div class="navigation-bar-container col-sx-2 col-sm-2 col-md-2 col-lg-2 no-float" ng-controller="AppListController">
        <ul class="side-nav-header nav nav-pills nav-stacked">
          <li class="navigation-header">
            <div class="btn-group">
              <div>
                <a href="#"><span class="ambari-header">Applications</span></a>
              </div>
              <div class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="toggle-icon glyphicon glyphicon-menu-down"></span>
              </div>
              <ul class="dropdown-menu">
                <li><a href="#!/">Appstore</a></li>
                <li><a href="#!/new">Register App</a></li>
              </ul>
            </div>
          </li>
        </ul>
        <ul class="side-nav-menu nav nav-pills nav-stacked">
          <li class="mainmenu-li" ng-repeat="yarnApp in appList">
            <span class="line">
              <a href="#!/app/{{yarnApp.id}}"><span class="glyphicon glyphicon-ok-sign"></span> {{yarnApp.name}}</a>
            </span>
            <span class="line navbar-close">
              <a ng-click="deleteApp(yarnApp.id,yarnApp.name)"><span class="glyphicon glyphicon-remove"></span></a>
            </span>
            <div>
            <span class="navigation-menu-item">{{yarnApp.app}}</span>
              </div>
          </li>
        </ul>
        <!--<ul class="side-nav-footer nav nav-pills nav-stacked">
          <li class="navigation-footer">
            <a href="#" data-toggle="collapse-side-nav">
              <span class="navigation-icon fa fa-angle-double-left"></span>
            </a>
          </li>
        </ul>-->
      </div>

    <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 no-float">
      <div data-ng-view></div>
    </div>
  </div>
</div>
<script src="vendor/jquery/dist/jquery.min.js"></script>
<script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="vendor/angular/angular.min.js"></script>
<script src="vendor/angular-route/angular-route.min.js"></script>
<script src="js/bootstrap-hadoop.min.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src="js/filters.js"></script>
<script src="js/routes.js"></script>
<script src="js/services.js"></script>
</body>
</html>
